package com.niiwoo.civet.account.constant;

/**
 * MQ相关常量
 */
public interface MQConstant {

    String UC_IDENTITY_EXCHANGE = "ucIdentityExchange";

    String UC_IDENTITY_DATA_QUEUE = "ucIdentityDataQueue";

    String UC_IDENTITY_DATA_ROUTING = "ucIdentityDataRouting";

    String R360_OPEN_ACCOUNT_EXCHANGE = "asset_exchange";

    String R360_OPEN_ACCOUNT_QUEUE = "bind_card_result";

    String R360_OPEN_ACCOUNT_ROUTING = R360_OPEN_ACCOUNT_EXCHANGE + "." + R360_OPEN_ACCOUNT_QUEUE;

    String CARD_NIU_ACCOUNT_EXCHANGE = "assetCardNiuExchange";

    String CARD_NIU_OPEN_ACCOUNT_QUEUE = "cardNiuOpenAccountQueue";

    String CARD_NIU_REBIND_BANK_QUEUE = "cardNiuRebindBankQueue";

    String CARD_NIU_OPEN_ACCOUNT_ROUTING = "cardNiuOpenAccountRouting";

    String CARD_NIU_REBIND_CARD_ROUTING = "cardNiuRebindBankRouting";


    /**
     * R360 MQ相关常量
     */
    String R360_EXCHANGE = "asset_r360_exchange";

    interface R360_Queue {
        // 订单通知相关
        String NOTIFY_MESSAGE_COMMON = "order_common_notify_send";
    }

    /**
     * 提现MQ
     */
    String WITHDRAW_AUDIT_EXCHANGE = "withdrawAuditExchange";
    String WITHDRAW_AUDIT_DATA_QUEUE = "withdrawAuditDataQueue";
    String WITHDRAW_AUDIT_DATA_ROUTING = "withdrawAuditDataRouting";

    /**
     * 线下用户还款
     */
    interface ReissueOrderAudit {
        String EXCHANGE = "reissue_order_audit_exchange";
        String QUEUE = "reissue_order_audit_queue";
        String ROUTING = "reissue_order_audit_routing";
    }

    /**
     * 机构资金冻结
     */
    String FUNDSFREEZE_EXCHANGE = "fundsFreezeExchange";
    String FUNDSFREEZE_DATA_QUEUE = "fundsFreezeDataQueue";
    String FUNDSFREEZE_DATA_ROUTING = "fundsFreezeDataRouting";

    /**
     * 机构资金冻结
     */
    String FUNDSUNFREEZE_EXCHANGE = "fundsUnfreezeExchange";
    String FUNDSUNFREEZE_DATA_QUEUE = "fundsUnfreezeDataQueue";
    String FUNDSUNFREEZE_DATA_ROUTING = "fundsUnfreezeDataRouting";

    /**
     * 还款债权校验
     */
    String REFUND_VALIDATE_EXCHANGE = "refundValidateExchange";
    String REFUND_VALIDATE_QUEUE = "refundValidateQueue";
    String REFUND_VALIDATE_ROUTING = "refundValidateRouting";
    /**
     * 还款/垫付 交易冻结结果
     */
    public static final String REFUND_FREEZE_RESULT_EXCHANGE = "refundFreezeResultExchange";
    public static final String REFUND_FREEZE_RESULT_QUEUE = "refundFreezeResultQueue";
    public static final String REFUND_FREEZE_RESULT_ROUTING = "refundFreezeResultRouting";


    /**
     * 还款/垫付 交易解冻结果
     */
    public static final String REFUND_UNFREEZE_RESULT_EXCHANGE = "refundUnfreezeResultExchange";
    public static final String REFUND_UNFREEZE_RESULT_QUEUE = "refundUnfreezeResultQueue";
    public static final String REFUND_UNFREEZE_RESULT_ROUTING = "refundUnfreezeResultRouting";

    /**
     * 还款/垫付 交易冻结
     */
    public static final String REFUND_FREEZE_EXCHANGE = "refundFreezeExchange";
    public static final String REFUND_FREEZE_QUEUE = "refundFreezeQueue";
    public static final String REFUND_FREEZE_ROUTING = "refundFreezeRouting";
    /**
     * 代扣申请MQ
     */
    String WITHHOLD_APPLY_EXCHANGE = "withholdApplyExchange";
    String WITHHOLD_APPLY_DATA_QUEUE = "withholdApplyDataQueue";
    String WITHHOLD_APPLY_DATA_ROUTING = "withholApplyDataRouting";
}

